import { createApp } from 'vue'
import App from './App.vue'

// 引入element-ui组件
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import 'dayjs/locale/zh-cn'
import zhCn from 'element-plus/es/locale/lang/zh-cn'

// 引入VCalendar
import VCalendar from 'v-calendar'
import 'v-calendar/style.css'

// 引入font-awesome
import 'font-awesome/css/font-awesome.min.css'
import '@fortawesome/fontawesome-free/css/all.css'

// 创建Vue3实例
const app = createApp(App)
// 使用Element UI Plus
app.use(ElementPlus, { locale: zhCn })
app.use(VCalendar, {})
// 挂载到根组件上
app.mount('#app')
